﻿// This file is a script that can be executed with the F# Interactive.  
// It can be used to explore and test the library project.
// Note that script files will not be part of the project build.

#load "GoFiguration.fs"

open GoFiguration

let inMemory = new InMemoryGoFiguration()

let config = GoFigure.GetConfigurationFrom(inMemory)

let keyValye = GoFigure.Set("key", "value").Get<string>("key")
let containsKey = GoFigure.ContainsKey("key")
let containsMissingKey = GoFigure.ContainsKey("nokey")
let nokeyValue = GoFigure.Get("nokey", "defaultValue")